$OpenBSD: patch-qtbase_tests_auto_corelib_tools_qbytearray_tst_qbytearray_cpp,v 1.2 2015/04/19 13:18:28 zhuk Exp $
Get rid of strcpy().
--- qtbase/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp.ports.orig	Tue Feb 17 07:56:31 2015
+++ qtbase/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp	Wed Apr  8 00:38:30 2015
@@ -76,7 +76,9 @@ private slots:
     void qvsnprintf();
     void qstrlen();
     void qstrnlen();
+#ifndef Q_OS_OPENBSD
     void qstrcpy();
+#endif
     void qstrncpy();
     void qstricmp_data();
     void qstricmp();
@@ -762,6 +764,7 @@ void tst_QByteArray::qstrnlen()
     QCOMPARE(::qstrnlen(src, 20), (uint)20);
 }
 
+#ifndef Q_OS_OPENBSD
 void tst_QByteArray::qstrcpy()
 {
     const char *src = "Something about ... \0 a string.";
@@ -774,6 +777,7 @@ void tst_QByteArray::qstrcpy()
     QCOMPARE(::qstrcpy(dst ,src), (char *)dst);
     QCOMPARE((char *)dst, const_cast<char *>(expected));
 }
+#endif
 
 void tst_QByteArray::qstrncpy()
 {
